from google.appengine.ext import webapp

register = webapp.template.create_template_register()

@register.filter('toID') 
def toID(element):
  return "_".join(map(unicode, map(ord,list(element))))

#end of customfilters.py#